package com.xinqi.modules.file.course.clazz.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.core.enums.ClassRoleEnum;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 班级学生表实体层
 *
 * @author: system
 * @date: 2023/01/17
 */
@Setter
@Getter
@TableName("cl_class_student")
public class ClassStudentEntity extends UpdateTimeEntity {
    /**
     * 学校ID
     */
    @TableField(value = "school_id")
    private Long schoolId;
    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Long courseId;
    /**
     * 班级id
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 学生id
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 是否置顶课程
     */
    @TableField(value = "is_top")
    private Integer isTop;

    /**
     * 是否归档课程
     */
    @TableField(value = "is_archive")
    private Integer isArchive;
    /**
     * 是否老师，0-否；1-是；
     */
    @TableField(value = "is_teacher")
    private Integer isTeacher;
    /**
     * 角色，1-老师;2-老师助教;3-课代表;9-学生
     */
    @TableField(value = "class_role")
    private ClassRoleEnum classRole;
    /**
     * 审核内容
     */
    @TableField(value = "audit_content")
    private String auditContent;
}
